/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 50px;margin: 0 auto;
   min-width: 1170px;
   color: #6f7579; 
}
a {
    color: #3b4348;
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}
a:focus {
    outline: medium none;
}
a:active{
    text-decoration: none;
}
.mg-3{
  margin: 3px;
}
.mg-5{
  margin: 5px;
}
.txt-area{
  border: 1px solid #ddd;
  border-radius: 3px;
  width: 80%;padding: 4px 12px;
}
.table-bd{
  padding:0 5px ;
  border: 1px dashed #ddd;
  border-radius: 4px;
}
#imageList > tr{
  border-bottom:1px solid #ddd; 
}
#imageList > tr > td{
  vertical-align: middle;
}
/*
 * Global add-ons
 */

.sub-header {
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

/*
 * Top navigation
 * Hide default border to remove 1px line.
 */
.navbar-fixed-top {
  border: 0;
}
li.nav-bar-icon > a{
   float: left;
   margin-top:15px;
   padding: 0px 6px;
   color: #f5f5f5;
}

/*
 * Sidebar
 */

/* Hide for mobile, show later */
.sidebar {
  display: none;
}
@media (min-width: 768px) {
  .sidebar {
    position: fixed;
    top: 51px;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: block;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
    background-color: #f5f5f5;
    border-right: 1px solid #eee;
  }
}

/* Sidebar navigation */
.nav-first-sidebar {
  margin-right: -20px; /* 20px padding + 1px border */
  margin-bottom: 20px;
  margin-left: -20px;
}

.nav-first-sidebar > li > a {
  padding-right: 20px;
  padding-left: 20px;
  color: #333;
}
.nav-first-sidebar > li > a:hover,
.nav-first-sidebar > li > a:focus{
 color: #336666;
  background-color: #eee;
  border-right:2px solid #336666; 
}
.nav-first-sidebar > .active > a,
.nav-first-sidebar > .active > a:hover,
.nav-first-sidebar > .active > a:focus {
  color: #336666;
  background-color: #eee;
  border-right:2px solid #336666; 
}

.nav-seccond-sidebar {
}
.nav-seccond-sidebar > li {
  margin: 2px 0px; 
}
.nav-seccond-sidebar > li > a {
  padding-left: 40px;
}
.nav-seccond-sidebar > .active > a,
.nav-seccond-sidebar > .active > a:hover,
.nav-seccond-sidebar > .active > a:focus {
  color: #336699;
  background-color: #eee;
  border-right:1px solid #339966; 
}

/*
 * Main content
 */

.main {
  padding-top: 20px;
  padding-bottom: 20px;
}
@media (min-width: 768px) {
  .main {
    padding-right: 20px;
    padding-left: 20px;
  }
}
.main .page-header {
  margin-top: 0;
}
.form-horizontal{
  padding:20px 0px 40px;
  border: 1px solid #f5f5f5;
  border-radius: 3px;
}


/* admin login page */
.login-form {
    margin: 10% auto;
    max-width: 330px;
    padding: 20px 32px 32px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    position: relative;
    z-index: 999;
}
.form-verify {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    display: block;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    width: 100%;
}
.login-into-home{
  padding-top:12px; 
}
.error-alert{
  position: relative;
  z-index: 999;
}
/*
 * Placeholder dashboard ideas
 */

.placeholders {
  margin-bottom: 30px;
  text-align: center;
}
.placeholders h4 {
  margin-bottom: 0;
}
.placeholder {
  margin-bottom: 20px;
}
.placeholder img {
  display: inline-block;
  border-radius: 50%;
}

.checkbox-opreat{
  float: left;
  margin:0px 2px;
}
ul.pagination{
  margin: 0px;
}
.page{
  width: auto;
  float: left;
  padding: 0px 10px;

}
/* listorder */
.input-listorder{width: 36px;height: 24px;text-align: center;border: 1px solid #ccc;}
.menu-sub-header{width: 100%;height: 32px;border-bottom: 1px solid #ccc;}
.modal{
  top:100px;overflow: hidden;
}
.auto-complete-select{
  background-clip: padding-box;
  border: 1px solid #ccc;
  background-color: #fff;
  position: absolute;
  top: 100%;
  border-radius: 4px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.176);
  display: block;
  float: left;
   z-index: 1000;
   width: 92%;
}
ul.auto-complete-select-option{
    font-size: 14px;
    left: 0;
    list-style: outside none none;
    width: 100%;
    text-align: left;
    margin: 0px;padding: 0px;
    max-height: 240px;
    overflow-y:auto; 
}
ul.auto-complete-select-option > li > a {
    clear: both;
    color: #333;
    display: block;
    font-weight: 400;
    line-height: 1.42857;
    padding: 3px 16px;
    white-space: nowrap;
}
ul.auto-complete-select-option > li > a:hover {
  text-decoration: none;
  background: #f5f5f5;
}
.attribute-wrap{
  padding: 10px 0 0;
  border: 1px dashed #ddd;
  border-radius: 4px;
}